package com.choosefine.it.basedata.model;

import com.choosefine.it.base.Base;

/**
 * 图片存储
 * @author Administrator
 *
 */
public class Image extends Base {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7903877204343334170L;
	
	private Integer id;

	private String originalUrl;
	private String smallUrl;
	private String middleUrl;
	
	/**
	 * 大小
	 */
	private int size;
	/**
	 * 后缀
	 */
	private String suffix;
	
	/**
	 * hashcode 使用DigestUtils.md5DigestAsHex(inputStream)方式
	 */
	private String hashCode;
	
	/**
	 * 文件名
	 */
	private String fileName;	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getOriginalUrl() {
		return originalUrl;
	}
	public void setOriginalUrl(String originalUrl) {
		this.originalUrl = originalUrl;
	}
	public String getSmallUrl() {
		return smallUrl;
	}
	public void setSmallUrl(String smallUrl) {
		this.smallUrl = smallUrl;
	}
	public String getMiddleUrl() {
		return middleUrl;
	}
	public void setMiddleUrl(String middleUrl) {
		this.middleUrl = middleUrl;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public String getSuffix() {
		return suffix;
	}
	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}
	public String getHashCode() {
		return hashCode;
	}
	public void setHashCode(String hashCode) {
		this.hashCode = hashCode;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
}
